﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 系统模块中间表
    /// </summary>
	[Table("FW_Application2Module")]
    [Display(Name = "系统模块中间表", Description = "系统模块中间表")]
    [AutoMapFrom(typeof(ViewFWApplication2Module))] 
    public partial class FWApplication2ModuleEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("Application2ModuleGUID")]
        [Display(Name = "系统模块中间表主键", Description = "系统模块中间表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 系统GUID
        /// </summary>
		[Display(Name = "系统GUID", Description = "系统GUID")]
        [Column("ApplicationGUID")]
        public Guid? ApplicationGUID { get; set; }   

		/// <summary>
        /// 模块GUID
        /// </summary>
		[Display(Name = "模块GUID", Description = "模块GUID")]
        [Column("ModuleGUID")]
        public Guid? ModuleGUID { get; set; }   

		/// <summary>
        /// 排序Code
        /// </summary>
		[Display(Name = "排序Code", Description = "排序Code")]
        [Column("A2MOrderCode")]
		[StringLength(128)]
        public string A2MOrderCode { get; set; }   
    }
}
